From: Chong Yidong Date: Sat, 17 Mar 2007 19:47:13 +0000 (+0000) Subject: (try_window_id): Increment matrix positions if the buffer's byte count X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~1558 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=b93ce984223e0b270831b892935fdc71f75724d7;p=emacs.git (try_window_id): Increment matrix positions if the buffer's byte count has increased, but not the character count. --- diff --git a/src/xdisp.c b/src/xdisp.c index 07762f56582..544043f2747 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -14898,7 +14898,7 @@ try_window_id (w) sync_frame_with_window_matrix_rows (w); /* Adjust buffer positions in reused rows. */ - if (delta) + if (delta || delta_bytes) increment_matrix_positions (current_matrix, first_unchanged_at_end_vpos + dvpos, bottom_vpos, delta, delta_bytes);